package com.example.redisdemo.enums;

/**
 * 队列枚举
 *
 * @author hexinglin
 * @created 2021-08-11 14:36
 **/
public enum RabbitEnum {
    /**
     * hello队列
     * */
    HELLO_QUEUE("hello"),
    DIRECT_QUEUE("direct");
    private String name;

    RabbitEnum(String directQueue) {
        this.name = directQueue;
    }

    public String getName() {
        return name;
    }

}
